import { createApp } from 'vue'
import 'normalize.css/normalize.css'
import 'tailwindcss/tailwind.css'

import App from './App.vue'
import router from './router'
import { setupStore } from '@/stores'
import i18n from '@/locales'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
setupStore(app)
app.use(i18n)
app.use(router)

app.mount('#app')
